﻿/*----------------------------------------------------------------
// Copyright (C) 2014 苏州麦迪斯顿医疗科技股份有限公司
// 文件名：ExceptionHandlingBehaviorExtensionElement.cs
// 文件功能描述：ExceptionHandlingBehaviorExtensionElement
// 创建标识：顾伟伟-2014-04-03
----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel.Configuration;

namespace CPOE.Framework.ExceptionHanding
{
    /// <summary>
    /// WCF的服务端行为配置元素类
    /// </summary>
  public  class ExceptionHandlingBehaviorExtensionElement : BehaviorExtensionElement
    {
        protected override object CreateBehavior()
        {
            return new ExceptionHandlingBehaviorAttribute();
        }
        public override Type BehaviorType
        {
            get
            {
                return typeof(ExceptionHandlingBehaviorAttribute);
            }
        }
    }
}
